package tech.aichan.AiQA.model.dto.mail;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author mengyu
 * @date 2024/03/03 9:52
 */
@Data
public class EmailRequest {
    @NotBlank(message = "email required")
    @Email(message = "邮件格式错误")
    private String email;
}
